package com.son.hotel.service;

import com.son.hotel.domain.Customers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.son.hotel.response.CustomerAndRoomInfoResp;
import com.son.hotel.vo.CustomAndRoomInfo;

/**
* @author 孙一卓
* @description 针对表【customers(顾客)】的数据库操作Service
* @createDate 2025-06-24 14:49:17
*/
public interface CustomersService extends IService<Customers> {

    /**
     * 根据身份证获取用户
     * @param identity
     * @return
     */
     Customers getCustomerByIdentity(String identity);


    /**
     * 添加用户
     * @param customAndRoomInfo
     * @return
     */
     int addCustom(CustomAndRoomInfo customAndRoomInfo);

    /**
     * 重载添加用户
     * @param customerAndRoomInfoResp
     * @return
     */
     int addCustom(CustomerAndRoomInfoResp customerAndRoomInfoResp);
}
